From 3b8d20614372b17cc8c91e8159e76a9eae91e60b Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Wed, 29 Aug 2018 12:35:12 -0400 Subject: [PATCH] The file chooser is no box anymore Don't treat it as one, it does not like it. Closes https://gitlab.gnome.org/GNOME/gtk/issues/1297 --- gtk/gtkfilechooserwidget.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtk/gtkfilechooserwidget.c b/gtk/gtkfilechooserwidget.c index 73a125dae5..67062a0b14 100644 --- a/gtk/gtkfilechooserwidget.c +++ b/gtk/gtkfilechooserwidget.c @@ -6092,7 +6092,7 @@ gtk_file_chooser_widget_get_default_size (GtkFileChooserEmbed *chooser_embed, { gtk_widget_get_preferred_size (priv->extra_align, &req, NULL); - *default_height += gtk_box_get_spacing (GTK_BOX (chooser_embed)) + req.height; + *default_height += gtk_box_get_spacing (priv->box) + req.height; } } -- 2.30.2